<?php

class Order extends AppModel {

    var $name = "Order";
    var $belongsTo = array(
        'User' => array(
            'className' => 'User',
            'foreignKey' => 'customer_id'
        ),
        'Address' => array(
            'className' => 'Address',
            'foreignKey' => 'shipping_address_id'
        )
    );

}